package com.gtja.beoms.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Li
 * @description 会话存档接口入参实体
 * @date 2020/12/29 14:23
 **/
public class ConversationArchiveQuery {

    /**
     * 企业微信Id
     */
    @NotNull(message = "企业微信Id不能为NULL")
    @NotBlank(message = "企业微信Id不能为空")
    private String corpId;

    /**
     * 发送人Id
     */
    private String fromId;

    /**
     * 接收人Id
     */
    private String receiveId;

    /**
     * 群聊Id
     */
    private String roomId;

    /**
     * 会话类型
     */
    private String msgType;

    /**
     * 关键词
     **/
    private String keyWord;

    /**
     * 起始时间
     **/
    private String beginDateStr;

    /**
     * 结束时间
     **/
    private String endDateStr;

    /**
     * 页码
     **/
    private Integer pageNum;

    /**
     * 页数
     **/
    private Integer pageSize;

    /**
     * 单聊/群聊
     **/
    private String tabType;

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getBeginDateStr() {
        return beginDateStr;
    }

    public void setBeginDateStr(String beginDateStr) {
        this.beginDateStr = beginDateStr;
    }

    public String getEndDateStr() {
        return endDateStr;
    }

    public void setEndDateStr(String endDateStr) {
        this.endDateStr = endDateStr;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getTabType() {
        return tabType;
    }

    public void setTabType(String tabType) {
        this.tabType = tabType;
    }

    @Override
    public String toString() {
        return "ConversationArchiveQuery{" +
                "corpId='" + corpId + '\'' +
                ", fromId='" + fromId + '\'' +
                ", receiveId='" + receiveId + '\'' +
                ", roomId='" + roomId + '\'' +
                ", msgType='" + msgType + '\'' +
                ", keyWord='" + keyWord + '\'' +
                ", beginDateStr='" + beginDateStr + '\'' +
                ", endDateStr='" + endDateStr + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", tabType='" + tabType + '\'' +
                '}';
    }
}
